/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package torpedo_server.messages;

import java.io.Serializable;

/**
 *
 * @author hengi
 */
public class StartBattleMessage extends Message implements Serializable  {

    private String mess; 
    public StartBattleMessage(String mess){
        String start = "STARTBATTLE-";
        String end = "-ENDBATTLE";
        this.mess=start+mess+end;
    }
            
    @Override
    public String getType() {
         return("StartBattleMessage");
    }

    @Override
    public String getMessage() {
       return this.mess;
    }
    
}
